<layout name='layout' />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新建项目</title>
<link rel="stylesheet" href="__PUBLIC__/css/validationEngine.jquery.css" type="text/css"/>
<script src="__PUBLIC__/js/jquery.validationEngine-zh_CN.js" type="text/javascript" charset="utf-8"></script>
<script src="__PUBLIC__/js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
<script language="JavaScript">
function checkProjName(){
    $.post('__URL__/checkName',{'username':$('#username').val()},function(data){
        $('#result').html(data.info).show();
        $("#result").fadeOut(4000);
    },'json');
}
	$(function() {
		$("#date").datepicker($.datepicker.regional['zh-CN']);
		$("#form1").validationEngine();
	});

</script>
</head>
<body>



	<div id="wrapper"> 
 
    <div class="form-container">    
    <form action="__URL__/addproject" method="post" id="form1">     
    <fieldset> 
        <legend>项目基本信息</legend> 
            <div><label for="pno" >项目编号 </label> <input class="validate[required] text-input" id="pno" type="text" name="pno" value=""  />
             </div> 
              <div><label for="pname" >项目名称 </label> <input class="validate[required] text-input" id="pname" type="text" name="pname" value=""  />
             </div> 
             <div><label for="date">入库时间</label><input class="validate[required] text-input" id="date" name="date" type="text" /> </div>
       </fieldset> 
    
    <fieldset> 
        <legend>项目公司基本信息</legend> 
          	<div><label for="cname" >公司名称 </label> <input class="validate[required] text-input"  id="cname" type="text" name="cname" value=""  />
             </div> 
              <div><label for="address" >公司地址 </label> <input  class="validate[required] text-input" id="address" type="text" name="address" value="" size="50" />
             </div>
           	<div><label for="classify" >所属行业 </label> 
           	<select id="classify" name="classify" class="validate[required]"> 
                     <option value="行业一">行业一</option> 
                        <option value="行业二">行业二</option> 
                        <option value="行业三">行业三</option> 
                        <option value="行业四">行业四</option> 
                </select> 
             </div> 
    </fieldset> 

    <fieldset> 
        <legend>公司联系人信息</legend> 
          <div><label for="cpname" >姓名 </label> <input class="validate[required] text-input"  id="cpname" type="text" name="cpname" value=""  />
             </div> 
          <div><label for="cpposition" >职位 </label> <input class="validate[required] text-input"  id="cpposition" type="text" name="cpposition" value=""  />
             </div>
          <div><label for="cpphone" >电话 </label> <input class="validate[required] custom[phone]] text-input"  id="cpphone" type="text" name="cpphone" value=""  />
             </div>
             <div><label for="cpemail" >邮箱 </label> <input class="validate[required] custom[email]] text-input"  id="cpemail" type="text" name="cpemail" value=""  />
             </div>                  
    </fieldset> 
    
    <fieldset> 
        <legend>项目介绍</legend> 
            <div> 
                <label for="desc">描述</label> 
                <textarea class="validate[required] text-input"  id="desc" name="desc" cols="50" rows="7"></textarea> 
            </div> 
           
    </fieldset> 
    
    <fieldset> 
        <legend>项目组信息</legend> 
        <div> 
                <label for="source">项目来源</label> 
                 <input  class="validate[required] text-input" id="source" type="text" name="source" value=""  />
             </div> 
            <div> 
                <label for="partnername">合伙人</label> 
                 <input  class="validate[required] text-input" id="partnername" type="text" name="partnername" value=""  />
             </div> 
              <div> 
                <label for="managername">项目经理</label> 
                 <input  class="validate[required] text-input" id="managername" type="text" name="managername" value="{$_SESSION['nickname']}" readonly="readonly" />
             </div>  
             <div> 
                <label for="membername">项目组成员</label> 
                 <input  class="validate[required] text-input" id="membername" type="text" name="membername" value=""  />
             </div> 
              <div> 
                <label for="prefund">预期投资基金</label> 
                 <input  class="validate[required] text-input" id="prefund" type="text" name="prefund" value=""  />
             </div> 
           
    </fieldset> 
    
    <div class="buttonrow"> 
        <input type="submit" value="提交" class="button" /> 
    </div> 
 
    </form> 
    
    </div><!-- /form-container --> 
    

</div><!-- /wrapper --> 
	





</body>
